package com.yotouch.app.stake.model;

import com.yotouch.core.model.EntityModel;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 注册码申请
 */
public class RegistrationApply extends EntityModel {

    /**
     * 批次号
     */
    String id;

    /**
     * 注册码申请数量
     */
    Integer amount;

    /**
     * 充电桩类型(直流，交流) 
     */
    int stakeType;

    /**
     * 省
     */
    String provinceCode;

    /**
     * 地市
     */
    String cityCode;

    /**
     * 申请时间
     */
    Date applyAt;

    /**
     * 批准时间
     */
    Date acceptedAt;

    /**
     * 申请人
     */
    User applyer;

    /**
     * 截止日期类型
     */
    String deadLineType;

    /**
     * 截止日期
     */
    Date deadLineAt;

    /**
     * 申请备注
     */
    String remark;

    /**
     * 电费模型
     */
    ChargerFeeModel chargerFeeModel;

    /**
     * 服务费模型
     */
    ServiceFeeModel serviceFeeModel;

    /**
     * 注册码申请下发数量
     */
    Integer acceptedAmount;

    /**
     * 审核意见
     */
    String reviewSuggestion;

    /**
     * 审核者
     */
    User reviewer;

    /**
     * 产权单位
     */
    String prOrgName;

    /**
     * 设备型号
     */
    String equipModel;

    /**
     * 订单 Id
     */
    String orderId;

    /**
     * 厂商名称
     */
    String vendorName;

    /**
     * 产权单位编码
     *
     */
    String prOrgCode ;

    /**
     * 申请人
     *
     */
    Employee operator ;

    /**
     * 注册码列表
     */
    private List<Registration> registrations = new ArrayList<>();

    public Employee getOperator(){
        return this.operator ;
    }

    public void setOperator(Employee operator){
        this.operator = operator ;
    }

    public String getPrOrgCode(){
        return this.prOrgCode ;
    }

    public void setPrOrgCode(String prOrgCode){
        this.prOrgCode = prOrgCode ;
    }

    public List<Registration> getRegistrations(){
        return this.registrations ;
    }

    public void setRegistrations(List<Registration> registrations){
        this.registrations.addAll(registrations) ;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public int getStakeType() {
        return stakeType;
    }

    public void setStakeType(int stakeType) {
        this.stakeType = stakeType;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public Date getApplyAt() {
        return applyAt;
    }

    public void setApplyAt(Date applyAt) {
        this.applyAt = applyAt;
    }

    public Date getAcceptedAt() {
        return acceptedAt;
    }

    public void setAcceptedAt(Date acceptedAt) {
        this.acceptedAt = acceptedAt;
    }

    public User getApplyer() {
        return applyer;
    }

    public void setApplyer(User applyer) {
        this.applyer = applyer;
    }

    public String getDeadLineType() {
        return deadLineType;
    }

    public void setDeadLineType(String deadLineType) {
        this.deadLineType = deadLineType;
    }

    public Date getDeadLineAt() {
        return deadLineAt;
    }

    public void setDeadLineAt(Date deadLineAt) {
        this.deadLineAt = deadLineAt;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public ChargerFeeModel getChargerFeeModel() {
        return chargerFeeModel;
    }

    public void setChargerFeeModel(ChargerFeeModel chargerFeeModel) {
        this.chargerFeeModel = chargerFeeModel;
    }

    public ServiceFeeModel getServiceFeeModel() {
        return serviceFeeModel;
    }

    public void setServiceFeeModel(ServiceFeeModel serviceFeeModel) {
        this.serviceFeeModel = serviceFeeModel;
    }

    public Integer getAcceptedAmount() {
        return acceptedAmount;
    }

    public void setAcceptedAmount(Integer acceptedAmount) {
        this.acceptedAmount = acceptedAmount;
    }

    public String getReviewSuggestion() {
        return reviewSuggestion;
    }

    public void setReviewSuggestion(String reviewSuggestion) {
        this.reviewSuggestion = reviewSuggestion;
    }

    public User getReviewer() {
        return reviewer;
    }

    public void setReviewer(User reviewer) {
        this.reviewer = reviewer;
    }

    public String getPrOrgName() {
        return prOrgName;
    }

    public void setPrOrgName(String prOrgName) {
        this.prOrgName = prOrgName;
    }

    public String getEquipModel() {
        return equipModel;
    }

    public void setEquipModel(String equipModel) {
        this.equipModel = equipModel;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }
}
